#include "TetrisTest.h"


/*  
++++++++++++
Main loop
++++++++++++
*/


void main( int argc, char ** argv)
{
	printf("MAIN FUNCTION");
	printf("Tetris\nCompiled at: "__DATE__" "__TIME__"\n");
	Tetris *game = new Tetris();
	

	printf("Created game\n");

	game->setDebugMode(DEBUG_ALL);
	
	printf("Setted debug mode\n");
	game->mainLoop();
	printf("Done the main loop\n");

	game->destroy();
	
}